package dao;

import java.util.List;

import entity.TestSuite;

public class TestSuiteDAO extends GenericDAO<TestSuite>{

	private static final long serialVersionUID = 1L;

	public TestSuiteDAO() {
		super(TestSuite.class);
		
	}
    
	public List<TestSuite> getProjectsByName(String nameOfProject) {
        return getList(TestSuite.class, "select t from TestSuite t where t.project.name like ?1", nameOfProject + "%");
    }
	
}
